package cn.wolfcode.trip.base.domain;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class MyMessageRelation extends BaseDomain{

    //信息的类型
    public static final Integer MESSAGETYPE_IN_LIKE = 1 ;//赞
    public static final Integer MESSAGETYPE_IN_COMMENT = 2 ;//评论
    public static final Integer MESSAGETYPE_IN_AIME = 3 ;//@我的
    public static final Integer MESSAGETYPE_IN_SMS = 4 ;//私信
    public static final Integer MESSAGETYPE_IN_SYSTEMCALL = 5 ;//系统通知

    //事物的类型
    public static final Integer THINGTYPE_IN_USER = 1 ;//被操作的用户
    public static final Integer THINGTYPE_IN_TRAVEL = 2 ;//被操作的游记
    public static final Integer THINGTYPE_IN_COMMENT = 3 ;//被操作的评论

    private Integer messagetype;//信息的类型

    private Integer thingtype;//事物的类型

    private User currentuser;//生成这边记录的用户

    private User user;//被操作的用户

    private Travel travel;//被操作的游记

    private Comment comment;//被操作的评论

    private Comment childComment;//装子评论的

    private Sms sms;//装私信对象的

}